#!/bin/bash
mkdir -p /etc/systemd/system/originbot.service.d/
# cp originbot.service  /etc/systemd/system/originbot.service.d/
cp originbot.service  /etc/systemd/system/
cp originbot.env /etc/systemd/system/originbot.service.d/
cp originbot.sh /etc/systemd/system/originbot.service.d/
# cd /etc/systemd/system/;ln -s originbot.service.d/originbot.service originbot.service
systemctl daemon-reload
systemctl enable originbot.service
systemctl status originbot
# systemctl restart originbot.service
# journalctl -u originbot -f